scsi: Change scsi_scan() to be able to return value
authorMichal Simek <[email protected]>
Wed, 30 Nov 2016 11:12:31 +0000 (12:12 +0100)
committerMichal Simek <[email protected]>
Fri, 2 Dec 2016 13:37:26 +0000 (14:37 +0100)
commitc002e39ae669403baf21a7e04473447387f6302d
treea8cfcc57ca70b5651ee234c6da240685ee432942
parent545a284711eb767ccb67ee6746b64bb330fa9303
scsi: Change scsi_scan() to be able to return value

With DM_SCSI this function will return more than one return value to
cover errors.

Suggested-by: Simon Glass <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
cmd/scsi.c
common/scsi.c
include/scsi.h